Starting with v0.103.0, Trilium has a custom media player for both video and audio files, which offers more features than the built-in player.
Versions prior to v0.103.0 also support media, but using the built-in player.
The file is streamed directly, so when accessing the note from a server it doesn't have to download the entire file to start playing it.
Although Trilium offers support for media files, it is generally not meant to be used with very large files. Uploading large media will cause the Database to balloon, as well as any Backup of it. In addition, there might be slowdowns when first uploading the files. Otherwise, a large database should not impact the general performance of Trilium significantly.
Trilium uses the built-in media decoding mechanism of the browser (or Electron/Chromium when running on the desktop). Starting with v0.103.0, a message will be displayed instead when a media format is not supported.
To play/pause, simply click anywhere on the media. For video files, the controls at the bottom will hide automatically after playing, simply move the mouse to show them again.
The bottom bar has the following features:
Text and Markdown notes can embed an interactive media player directly in the note content. To do so, include the audio or video file:
/include press Enter.Then select the audio/video file note to be included.
The following keyboard shortcuts are supported by the media player:
| Space | Play/pause |
| Left arrow key | Go back by 10s |
| Right arrow key | Go forward by 10s |
| Ctrl + Left arrow key | Go back by 1 min |
| Ctrl + Right arrow key | Go right by 1 min |
| Page Up | Navigate to the previous media |
| Page Down | Navigate to the next media |
| F | Toggle full-screen |
| M | Mute/unmute |
| Home | Go to the beginning of the media |
| End | Go to the end of the media |
| Up | Increase volume by 5% |
| Down | Decrease volume by 5% |
| Alt+F1 (customizable) | Show this list of keyboard shortcuts on screen. |